package cn.iocoder.yudao.module.fengdong.smartelderly.convert.oldmanpointrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.oldman.OldmanDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.oldmanpointrecord.vo.*;
import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.oldmanpointrecord.OldmanPointRecordDO;

/**
 * 老人积分记录 Convert
 *
 * @author 沣东养老院管理员
 */
@Mapper
public interface OldmanPointRecordConvert {

    OldmanPointRecordConvert INSTANCE = Mappers.getMapper(OldmanPointRecordConvert.class);

    OldmanPointRecordDO convert(OMPointRecordCreateReqVO bean);

    OldmanPointRecordDO convert(OMPointRecordUpdateReqVO bean);

    OldmanPointRecordRespVO convert(OldmanPointRecordDO bean);

    List<OldmanPointRecordRespVO> convertList(List<OldmanPointRecordDO> list);

    PageResult<OldmanPointRecordRespVO> convertPage(PageResult<OldmanPointRecordDO> page);

    List<OldmanPointRecordExcelVO> convertList02(List<OldmanPointRecordDO> list);

    PageResult<OldmanByPointRecordRespVO> convertPageByOld(PageResult<OldmanPointRecordDO> pageResult, List<OldmanDO> oldmanDOS);
}
